from django.contrib import admin
from .models import Collection,FileList

# Register your models here.
@admin.register(Collection)
class CollectionAdmin(admin.ModelAdmin):
    list_display = ('projectname','user','username','date','otherinfo','ppid')


@admin.register(FileList)
class FileListAdmin(admin.ModelAdmin):
    list_display = ('projectname','username','uploadtime','filename','filesize',"ppid",'file')